Applying the Checkpointing Routine treeverse to Discretizations of Burgers' Equation?

نویسندگان

  • Andrea Walther
  • Andreas Griewank
چکیده

We consider the inviscid Burgers' equation enlarged with a control function and its adjoint equation. For several discretization schemes of the inviscid Burgers' equation the \adjoint" nite diier-ence methods are derived. Applying these discretization methods and the checkpointing routine treeverse, approximations of the solution of both diierential equations are calculated and compared. 1 The Checkpointing Routine treeverse In its basic form the reverse mode of computational diierentiation yields the gradient of a scalar-valued function at a small multiple of the computational work needed to evaluate the function itself. However, the corresponding memory requirement is proportional to the run-time of the evaluation program. Therefore the practical applicability of the reverse mode is limited despite the availability of ever larger memory systems. This observation leads to the development of checkpointing schemes. Here, the key feature is a tradeoo between spatial and temporal complexity. Under ideal-ized assumptions it was shown in 2] that this tradeoo can be chosen such that both temporal and spatial complexity grow logarithmically relative to the time required to evaluate the function itself. The routine treeverse implements a reened version of the algorithm described in 2]. To apply treeverse, the user must be able to break the function evaluation into a sequence of time-steps that are roughly of equal size in terms of computational work. Furthermore procedures for the following tasks have to be available: 1. Advancing the modeled system to a certain state 2. Saving the current state onto a stack of checkpoints 3. Restoring the most recently saved program state 4. Performing one combined forward and adjoint step (with special provisions for the very rst time this happens) Naturally, the question arises where the checkpoints should be set to. The answer is given in the proofs of the following two propositions from 3]. They constructively yield checkpoint schedules that are optimal with respect to the number of forward steps and to the number of checkpoints that have to be set.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Treeverse: an Implementation of Checkpointing for the Reverse or Adjoint Mode of Computational Diierentiation

In its basic form the reverse mode of computational diierentiation yields the gradient of a scalar-valued function at a cost that is a small multiple of the computational work needed to evaluate the function itself. However, the corresponding memory requirement is proportional to the run-time of the evaluation program. Therefore the practical applicability of the reverse mode in its original fo...

متن کامل

Binomial Checkpointing for Arbitrary Programs with No User Annotation

Heretofore, automatic checkpointing at procedure-call boundaries [1], to reduce the space complexity of reverse mode, has been provided by systems like Tapenade [2]. However, binomial checkpointing, or treeverse [3], has only been provided in AD systems in special cases, e.g., through user-provided pragmas on DO loops in Tapenade, or as the nested taping mechanism in adol-c for time integration...

متن کامل

Reproducing Kernel Space Hilbert Method for Solving Generalized Burgers Equation

In this paper, we present a new method for solving Reproducing Kernel Space (RKS) theory, and iterative algorithm for solving Generalized Burgers Equation (GBE) is presented. The analytical solution is shown in a series in a RKS, and the approximate solution u(x,t) is constructed by truncating the series. The convergence of u(x,t) to the analytical solution is also proved.

متن کامل

Dispersive regularizations and numerical discretizations for the inviscid Burgers equation

We study centred second-order in time and space discretizations of the inviscid Burgers equation. Although this equation in its continuum formulation supports non-smooth shock wave solutions, the discrete equation generically supports smooth solitary wave solutions. Using backward error analysis we derive the modified equation associated with the numerical scheme. We identify three different eq...

متن کامل

Periodic Wave Shock solutions of Burgers equations

In this paper we investigate the exact peroidic wave shock solutions of the Burgers equations. Our purpose is to describe the asymptotic behavior of the solution in the cauchy problem for viscid equation with small parametr ε and to discuss in particular the case of periodic wave shock. We show that the solution of this problem approaches the shock type solution for the cauchy problem of the in...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998